package com.sanpu.kxe.business.main.contract;

import android.graphics.Bitmap;

import com.sanpu.kxe.base.IBaseExtraView;
import com.sanpu.kxe.base.IBasePresenter;
import com.sanpu.kxe.business.main.bean.MaterialPosterOutput;

import java.util.List;

/**
 * Description：银信通推广海报
 * Created by 薛勇军 on 2019/9/28.
 */

public interface MaterialPosterContract {

    interface View extends IBaseExtraView<Presenter> {

        /**
         * 显示列表
         */
        void showPosterListView(List<MaterialPosterOutput> posterOutputs);
    }

    interface Presenter extends IBasePresenter {

        /**
         * 推广海报
         */
        void promotionPoster();

        /**
         * 分享微信
         */
        void onShareWeChatClick(Bitmap bitmap);

        /**
         * 分享朋友圈
         */
        void onShareTimelineClick(Bitmap bitmap);

        /**
         * 保存相册
         */
        void onSaveSystemClick(Bitmap bitmap);
    }
}
